package im.oen.boot.common.data;

/**
 * <p>描述：暂无描述信息</p>
 *
 * <p>创建时间：2021-12-18 11:21</p>
 * <p>更新时间：暂无</p>
 *
 * @author Kevin.Xu
 * @version 1.0
 */
public class Point extends Base {
    private double x;
    private double y;

    public Point() {
    }

    public Point(double x, double y) {
        this.x = x;
        this.y = y;
    }

    public double getX() {
        return x;
    }

    public void setX(double x) {
        this.x = x;
    }

    public double getY() {
        return y;
    }

    public void setY(double y) {
        this.y = y;
    }

    public static Point of(int x, int y) {
        return new Point(x, y);
    }
}
